WPPayForm\App\Hooks\Handlers\SubmissionHandler D

Total Complexity 157
Dependencies 14
Dependents 1
Total lines 806
Lines of code 643
Logical lines of code 369
Comment lines 38
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
handleSubmission()
D
15
58 276
validate()
D
30 44 96
getSubscriptionLine()
B
37 16 76
getPaymentLine()
A
42 10 53
getSubDonationLine()
S
48 5 31
sanitizeFormData()
S
51 5 29
getItemQuantity()
S
59 6 14
getIp()
S
63 4 11
getErrorLabel()
S
62 3 11
paymentHandelerAfterHundredDiscount()
S
55 2 20
paymentValidate()
S
63 2 10
getHash()
S
65 1 8
sendSubmissionConfirmation()
S
66 1 8